<?php

class Module_Account_Form_Login extends Engine_Form {

    protected $name = 'signin';

    public function init(){

        $element = new Engine_Form_Element_Input('login');
        $element->setLabel('Имя пользователя');
        $element->setRequire(true);
        $this->addElement($element);

        $element = new Engine_Form_Element_Password('password');
        $element->setLabel('Пароль');
        $element->setRequire(true);
        $this->addElement($element);

        $element = new Engine_Form_Element_Submit(null);
        $element->setLabel('Войти');
        $this->addElement($element);
    }

}
